Bug 511217 - potential memory corruption after refreshing a tree_view
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 28 May 2008 00:33:49 +0000 (00:33 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 28 May 2008 00:33:49 +0000 (00:33 +0000)
        * gtk/gtktreeview.c (cancel_arrow_animation): Reset
        expanded_collapsed_node when canceling the animation.
        Patch by Nicholas Setton.

svn path=/trunk/; revision=20201

ChangeLog
gtk/gtktreeview.c

index 8e8f14dc1ba2131ba9cbe55556cd601984b39b4d..399fb9df7991869e4b80e3c28acfd9f9b3690142 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-05-27  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 511217 - potential memory corruption after refreshing a tree_view
+
+       * gtk/gtktreeview.c (cancel_arrow_animation): Reset
+       expanded_collapsed_node when canceling the animation.
+       Patch by Nicholas Setton.
+
 2008-05-28  Michael Natterer  <mitch@imendio.com>
 
        * modules/input/gtkimcontextime.h
index ea25e57affba64dad0ee533832e349e4d6147793..3a17ec73a6393b1467f3788b617c11300407a2b6 100644 (file)
@@ -8473,6 +8473,9 @@ cancel_arrow_animation (GtkTreeView *tree_view)
 
       g_source_remove (tree_view->priv->expand_collapse_timeout);
       tree_view->priv->expand_collapse_timeout = 0;
+
+      /* Reset node */
+      tree_view->priv->expanded_collapsed_node = NULL;
     }
 }